package cn.demographic.dao;

import java.util.List;

import cn.demographic.entity.Pregnancy;
/**
 * 怀孕避孕情况
 * @author cy
 *
 */
public interface PregnancyMapper {
	
	//查询所有的怀孕避孕
	List<Pregnancy> selectPregnancy();
	
    int deleteByPrimaryKey(Integer pregnancyId);

    int insert(Pregnancy record);

    int insertSelective(Pregnancy record);

    Pregnancy selectByPrimaryKey(Integer pregnancyId);

    int updateByPrimaryKeySelective(Pregnancy record);

    int updateByPrimaryKey(Pregnancy record);
}